package com.zlt.entity;

import com.zlt.annotation.Column;
import com.zlt.annotation.Id;
import com.zlt.annotation.ManyToOne;
import com.zlt.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @Author IBing
 * @Date 2022/8/11 13:07
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Table("delivery")
public class Delivery {
    @Id
    private Integer did;

    @ManyToOne("uid")
    private User user;

    @ManyToOne("rid")
    private Resume resume;

    @ManyToOne("cid")
    private Company company;

    @ManyToOne("jid")
    private Job job;


//    @Column("delivery_time")
//    private String deliveryTime;

    @Column
    private Integer state;
}
